package com.yoga.entity;

import java.io.Serializable;

/**
 * yoga_coach
 * @author 
 */
public class YogaCoach implements Serializable {
    private String uid;

    /**
     * 濡傛灉璇炬弧锛屽垯灞忔墍鏈夋悳绱
     */
    private Integer isreveive;

    private Integer classmoney;

    /**
     * 濡傛灉涓嶆帴鍙楃?鏁欍?鍒欏睆钄界敤鎴锋悳绱
     */
    private Integer isprivate;

    private Integer isvenue;

    private Integer isofficial;

    private Integer positive;

    private Integer standby1;

    private Boolean standby2;

    private String standby3;

    private String standby4;

    private Boolean standby5;

    private static final long serialVersionUID = 1L;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Integer getIsreveive() {
        return isreveive;
    }

    public void setIsreveive(Integer isreveive) {
        this.isreveive = isreveive;
    }

    public Integer getClassmoney() {
        return classmoney;
    }

    public void setClassmoney(Integer classmoney) {
        this.classmoney = classmoney;
    }

    public Integer getIsprivate() {
        return isprivate;
    }

    public void setIsprivate(Integer isprivate) {
        this.isprivate = isprivate;
    }

    public Integer getIsvenue() {
        return isvenue;
    }

    public void setIsvenue(Integer isvenue) {
        this.isvenue = isvenue;
    }

    public Integer getIsofficial() {
        return isofficial;
    }

    public void setIsofficial(Integer isofficial) {
        this.isofficial = isofficial;
    }

    public Integer getPositive() {
        return positive;
    }

    public void setPositive(Integer positive) {
        this.positive = positive;
    }

    public Integer getStandby1() {
        return standby1;
    }

    public void setStandby1(Integer standby1) {
        this.standby1 = standby1;
    }

    public Boolean getStandby2() {
        return standby2;
    }

    public void setStandby2(Boolean standby2) {
        this.standby2 = standby2;
    }

    public String getStandby3() {
        return standby3;
    }

    public void setStandby3(String standby3) {
        this.standby3 = standby3;
    }

    public String getStandby4() {
        return standby4;
    }

    public void setStandby4(String standby4) {
        this.standby4 = standby4;
    }

    public Boolean getStandby5() {
        return standby5;
    }

    public void setStandby5(Boolean standby5) {
        this.standby5 = standby5;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        YogaCoach other = (YogaCoach) that;
        return (this.getUid() == null ? other.getUid() == null : this.getUid().equals(other.getUid()))
            && (this.getIsreveive() == null ? other.getIsreveive() == null : this.getIsreveive().equals(other.getIsreveive()))
            && (this.getClassmoney() == null ? other.getClassmoney() == null : this.getClassmoney().equals(other.getClassmoney()))
            && (this.getIsprivate() == null ? other.getIsprivate() == null : this.getIsprivate().equals(other.getIsprivate()))
            && (this.getIsvenue() == null ? other.getIsvenue() == null : this.getIsvenue().equals(other.getIsvenue()))
            && (this.getIsofficial() == null ? other.getIsofficial() == null : this.getIsofficial().equals(other.getIsofficial()))
            && (this.getPositive() == null ? other.getPositive() == null : this.getPositive().equals(other.getPositive()))
            && (this.getStandby1() == null ? other.getStandby1() == null : this.getStandby1().equals(other.getStandby1()))
            && (this.getStandby2() == null ? other.getStandby2() == null : this.getStandby2().equals(other.getStandby2()))
            && (this.getStandby3() == null ? other.getStandby3() == null : this.getStandby3().equals(other.getStandby3()))
            && (this.getStandby4() == null ? other.getStandby4() == null : this.getStandby4().equals(other.getStandby4()))
            && (this.getStandby5() == null ? other.getStandby5() == null : this.getStandby5().equals(other.getStandby5()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUid() == null) ? 0 : getUid().hashCode());
        result = prime * result + ((getIsreveive() == null) ? 0 : getIsreveive().hashCode());
        result = prime * result + ((getClassmoney() == null) ? 0 : getClassmoney().hashCode());
        result = prime * result + ((getIsprivate() == null) ? 0 : getIsprivate().hashCode());
        result = prime * result + ((getIsvenue() == null) ? 0 : getIsvenue().hashCode());
        result = prime * result + ((getIsofficial() == null) ? 0 : getIsofficial().hashCode());
        result = prime * result + ((getPositive() == null) ? 0 : getPositive().hashCode());
        result = prime * result + ((getStandby1() == null) ? 0 : getStandby1().hashCode());
        result = prime * result + ((getStandby2() == null) ? 0 : getStandby2().hashCode());
        result = prime * result + ((getStandby3() == null) ? 0 : getStandby3().hashCode());
        result = prime * result + ((getStandby4() == null) ? 0 : getStandby4().hashCode());
        result = prime * result + ((getStandby5() == null) ? 0 : getStandby5().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", isreveive=").append(isreveive);
        sb.append(", classmoney=").append(classmoney);
        sb.append(", isprivate=").append(isprivate);
        sb.append(", isvenue=").append(isvenue);
        sb.append(", isofficial=").append(isofficial);
        sb.append(", positive=").append(positive);
        sb.append(", standby1=").append(standby1);
        sb.append(", standby2=").append(standby2);
        sb.append(", standby3=").append(standby3);
        sb.append(", standby4=").append(standby4);
        sb.append(", standby5=").append(standby5);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}